package com.ccp.dev.system.model;

/**
 * 首页栏目 自定义查询model
 * @author nd
 */
public class SysBpmFormQuery {
    /**
     * 主键
     */
    protected String  id;
    /**
     * 名称
     */
    protected String  name;
    /**
     * 别名
     */
    protected String  alias;
    /**
     * 查询对象名称
     */
    protected String  objName;
    /**
     * 是否分页 0：否，1：是
     */
    protected short  needPage = 0;
    /**
     * 条件字段
     */
    protected String  conditionField;
    /**
     * 返回字段
     */
    protected String  resultField;
    /**
     * 排序字段
     */
    protected String  sortField;
    /**
     * 数据源名称
     */
    protected String  dsName;
    //
    /**
     * 数据源别名
     */
    protected String  dsAlias;
    //
    /**
     * 分页条数
     */
    protected Long  pageSize = 10L;
    //
    /**
     * 是否数据库表0:视图,1:数据库表
     */
    protected short isTable = 1;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getObjName() {
        return objName;
    }

    public void setObjName(String objName) {
        this.objName = objName;
    }

    public short getNeedPage() {
        return needPage;
    }

    public void setNeedPage(short needPage) {
        this.needPage = needPage;
    }

    public String getConditionField() {
        return conditionField;
    }

    public void setConditionField(String conditionField) {
        this.conditionField = conditionField;
    }

    public String getResultField() {
        return resultField;
    }

    public void setResultField(String resultField) {
        this.resultField = resultField;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public String getDsName() {
        return dsName;
    }

    public void setDsName(String dsName) {
        this.dsName = dsName;
    }

    public String getDsAlias() {
        return dsAlias;
    }

    public void setDsAlias(String dsAlias) {
        this.dsAlias = dsAlias;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public short getIsTable() {
        return isTable;
    }

    public void setIsTable(short isTable) {
        this.isTable = isTable;
    }

    @Override
    public String toString() {
        return "SysBpmFormQuery{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", alias='" + alias + '\'' +
                ", objName='" + objName + '\'' +
                ", needPage=" + needPage +
                ", conditionField='" + conditionField + '\'' +
                ", resultField='" + resultField + '\'' +
                ", sortField='" + sortField + '\'' +
                ", dsName='" + dsName + '\'' +
                ", dsAlias='" + dsAlias + '\'' +
                ", pageSize=" + pageSize +
                ", isTable=" + isTable +
                '}';
    }
}
